{include file="public/header" /}

{include file="people/user_info" /}

<div class="container mtb-15">
	<div class="list-box data-list-box">
		<div class="list-body">
			{include file="people/nav" /}
			<div class="text-muted mb10 hidden-xs text-center">
				<div class="btn-group btn-group-xs">
					<a class="btn btn-default" href="{:url('People/focus_question', array('user_id' => $user_id))}" role="button">关注的问题</a>
					<a class="btn btn-default" href="{:url('People/focus_user', array('user_id' => $user_id))}" role="button">我关注的人</a>
					<a class="btn btn-default active" href="{:url('People/focus_me', array('user_id' => $user_id))}" role="button">关注我的人</a>
				</div>
			</div>
			<table class="data-list">
				
				{volist name="list" id="rs"}
					<tr class="data-{$rs['user_id']}">
						<td width="50"><a href="{:url('People/index', array('user_id' => $rs['user_id']))}"><img src="{:img($rs['head_url'], 200, 200)}" width="50" height="50" alt=""></a></td>
						<td width="100"><a href="{:url('People/index', array('user_id' => $rs['user_id']))}">{$rs['show_name']}</a></td>
						<td width="50">{$rs['sex_desc']}</td>
						<td>
							<ul class="user-data-info">
								<li>
									<div class="val">{notempty name="rs.data"}{$rs['data']['question_num']}{else/}0{/notempty}</div>
									<div class="name">问题</div>
								</li>
								<li>
									<div class="val">{notempty name="rs.data"}{$rs['data']['answer_num']}{else/}0{/notempty}</div>
									<div class="name">回答</div>
								</li>
								<li>
									<div class="val">{notempty name="rs.by_focus_user_num"}{$rs['by_focus_user_num']}{else/}0{/notempty}</div>
									<div class="name">关注者</div>
								</li>
							</ul>
						</td>
					</tr>
				{/volist}
			</table>
			<div class="page">{$page}</div>
		</div>
	</div>
</div>

<style type="text/css">
.user-data-info{
	float: right;
	list-style: none;
	text-align: center;
	padding-right: 30px;
}
.user-data-info li{
	float: left;
	padding: 0 20px;
}
.user-data-info li .name{
	color: #b6b5b6;
}
</style>
{include file="public/footer" /}